<html>
<head><meta charset="utf-8"><title>profiling incremental re-use · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/profiling.20incremental.20re-use.html">profiling incremental re-use</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="154945232"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/profiling%20incremental%20re-use/near/154945232" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/profiling.20incremental.20re-use.html#154945232">(Jan 11 2019 at 20:38)</a>:</h4>
<p><span class="user-mention" data-user-id="124287">@mw</span> what is the easiest way for me to get some idea of how much re-use a given crate is getting? I'd like to explore why the <a href="https://github.com/lark-exploration/lark" target="_blank" title="https://github.com/lark-exploration/lark">https://github.com/lark-exploration/lark</a> crates seem to take so much more time to recompile than I would expect. They are using salsa, so they have the property that they push a lot of the code into the final crate where the full "database type" is known, so my theory is that something about our partitioning or CGU scheme winds up forcing us to rebuild a lot more than you might expect.</p>



<a name="155075383"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/profiling%20incremental%20re-use/near/155075383" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/profiling.20incremental.20re-use.html#155075383">(Jan 14 2019 at 10:41)</a>:</h4>
<p>-Zincremental-info should give you statistics on what's re-used and what isn't.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>